package com.cyzy.pojo;


import java.sql.Timestamp;

public class TrainOrder {

  private long orderId;
  private long userId;
  private String orderName;
  private long orderIdnumber;
  private long seatId;
  private String numberName;
  private String startstationId;
  private String endstationId;
  private long orderMoney;
  private String createTime;
  private String orderNote;
  private String orderStatus;

//  private SeatType seatType;
//  private TrainSeat trainSeat;
//  private TrainNumber trainNumber;
//  private TrainNumberInfo trainNumberInfo;
//  private TrainNumberType trainNumberType;
//  private TrainUser trainUser;
//  private TrainFriends trainFriends;

  public TrainOrder() {}

  public TrainOrder(long orderId, long userId, long orderIdnumber, long seatId, String numberName, String startstationId, String endstationId, long orderMoney, String createTime, String orderNote, String orderStatus,String orderName) {
    this.orderId = orderId;
    this.userId = userId;
    this.orderIdnumber = orderIdnumber;
    this.seatId = seatId;
    this.numberName = numberName;
    this.startstationId = startstationId;
    this.endstationId = endstationId;
    this.orderMoney = orderMoney;
    this.createTime = createTime;
    this.orderNote = orderNote;
    this.orderStatus = orderStatus;
    this.orderName = orderName;
  }

  @Override
  public String toString() {
    return "TrainOrder{" +
            "orderId=" + orderId +
            ", userId=" + userId +
            ", orderName='" + orderName + '\'' +
            ", orderIdnumber=" + orderIdnumber +
            ", seatId=" + seatId +
            ", numberName='" + numberName + '\'' +
            ", startstationId='" + startstationId + '\'' +
            ", endstationId='" + endstationId + '\'' +
            ", orderMoney=" + orderMoney +
            ", createTime=" + createTime +
            ", orderNote='" + orderNote + '\'' +
            ", orderStatus='" + orderStatus + '\'' +
            '}';
  }

  public String getOrderName() {
    return orderName;
  }

  public void setOrderName(String orderName) {
    this.orderName = orderName;
  }

  public long getOrderMoney() {
    return orderMoney;
  }

  public void setOrderMoney(long orderMoney) {
    this.orderMoney = orderMoney;
  }

  public long getOrderId() {
    return orderId;
  }

  public void setOrderId(long orderId) {
    this.orderId = orderId;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public long getOrderIdnumber() {
    return orderIdnumber;
  }

  public void setOrderIdnumber(long orderIdnumber) {
    this.orderIdnumber = orderIdnumber;
  }


  public long getSeatId() {
    return seatId;
  }

  public void setSeatId(long seatId) {
    this.seatId = seatId;
  }


  public String getNumberName() {
    return numberName;
  }

  public void setNumberName(String numberName) {
    this.numberName = numberName;
  }


  public String getStartstationId() {
    return startstationId;
  }

  public void setStartstationId(String startstationId) {
    this.startstationId = startstationId;
  }


  public String getEndstationId() {
    return endstationId;
  }

  public void setEndstationId(String endstationId) {
    this.endstationId = endstationId;
  }

  public long getorderMoney() {
    return orderMoney;
  }

  public void setorderMoney(long orderMoney) {
    this.orderMoney = orderMoney;
  }

  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }


  public String getOrderNote() {
    return orderNote;
  }

  public void setOrderNote(String orderNote) {
    this.orderNote = orderNote;
  }


  public String getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(String orderStatus) {
    this.orderStatus = orderStatus;
  }

}
